home *** CD-ROM | disk | FTP | other *** search
- ppmtoilbm [-maxplanes|-mp n] [-fixplanes|-fp n]
- [-ham6|-ham8] [-dcbits|-dcplanes r g b]
- [-normal|-hamif|-hamforce|-24if|-24force|-dcif|-dcforce|-cmaponly]
- [-ecs|-aga] [-map ppmfile] [ppmfile]
-
-
- Supported ILBM types:
- * normal ILBMs with 1-16 planes
- * HAM with 3-16 planes
- * 24bit
- * colormap (BMHD + CMAP chunk only, nPlanes = 0)
- * unofficial direct color with 1-16 planes for each color component
-
-
- Options:
- Options marked with (*) can be prefixed with "no", ie "-nohamif" etc.
- All options can be abbreviated to their shortest unique prefix.
-
- -maxplanes|-mp n (default 5, minimum 1, maximum 16)
- Maximum planes to write in a normal ILBM. If the pixmap does not
- fit into <n> planes, ppmtoilbm writes a HAM file (if -hamif is
- used), a 24bit file (if -24if is used) or a direct color file
- (if -dcif is used) or aborts with an error.
-
- -fixplanes|-fp n (min 1, max 16)
- If a normal ILBM is written, it will have exactly <n> planes.
-
- -hambits|-hamplanes n (default 6, min 3, max 16)
- Select number of planes for HAM picture. The current Amiga hardware
- supports 6 and 8 planes, so for now you should only use this values.
-
- -normal (default)
- Turns off -hamif/-24if/-dcif, -hamforce/-24force/-dcforce and
- -cmaponly.
-
- -hamif (*)
- -24if (*)
- -dcif (*)
- Write a HAM/24bit/direct color file if the pixmap does not fit into
- <maxplanes> planes.
-
- -hamforce (*)
- -24force (*)
- -dcforce (*)
- Write a HAM/24bit/direct color file.
-
- -dcbits|-dcplanes r g b (default 5, min 1, max 16)
- Select number of bits for red, green & blue in a direct color ILBM.
-
- -ecs (default)
- Shortcut for: -hamplanes 6 -maxplanes 5
-
- -aga
- Shortcut for: -hamplanes 8 -maxplanes 8
-
- -ham6 (default)
- Shortcut for: -hamplanes 6
-
- -ham8
- Shortcut for: -hamplanes 8
-
- -map ppmfile
- Write a normal ILBM using the colors in <ppmfile> as the colormap.
- The colormap file also determines the number of planes, a -maxplanes
- or -fixplanes option is ignored.
-
- -cmaponly
- Write a colormap file: only BMHD and CMAP chunks, no BODY chunk,
- nPlanes = 0.
-
-
- Chunks written:
-
- normal color- direct
- ILBM HAM 24bit map color
- -----------+------+------+------+------+------
- BMHD * * * * *
- CMAP * * (1) - * -
- BODY * * * - *
- other - CAMG - - DCOL
- nPlanes 1-8 3-8 24 0 3-24 if configured w/o ILBM_BIGRAW
- nPlanes 1-16 3-16 24 0 3-48 if configured with ILBM_BIGRAW
-
- (1): HAM files always have a grayscale colormap
-
-
- BUGS:
- Needs a real colormap selection algorithm for HAM pictures, instead
- of using a grayscale colormap.
-
-
- #############################################################################
-
- ilbmtoppm [-verbose] [ilbmfile]
-
-
- Supported ILBM types:
- * normal ILBMs with 1-16 planes
- * EHB
- * HAM with 3-16 planes
- * 24bit
- * colormap (BMHD + CMAP chunk only, nPlanes = 0)
- * unofficial direct color with 1-16 planes for each color component
-
-
- Options:
- Options marked with (*) can be prefixed with "no", ie "-noverbose" etc.
- All options can be abbreviated to their shortest unique prefix.
-
- -verbose (*)
- Give some information about the ILBM file
-
-
- Known chunks:
- used : BMHD, CMAP, CAMG (only HAM & EHB flags used), BODY
- unofficial DCOL chunk to identify direct color ILBM
- ignored : GRAB, DEST, SPRT, CRNG, CCRT, CLUT, DPPV, DRNG, EPSF
- other (1): NAME, AUTH, (c), ANNO, DPI
- unknown chunks are skipped
-
- (1): ignored, but displayed in verbose mode
-
-